.ellipsis-2 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.main {
  padding-top: 11.7333vw;
  // 搜索模块
  .search_area {
    display: flex;
    align-items: center;
    height: 11.7333vw;
    padding: 0 1.6vw;
    background-color: #fff;
    .search {
      flex: 1;
      height: 8vw;
      background-color: #f7f7f7;
      text-align: center;
      line-height: 8vw;
      font-size: 3.4667vw;
      color: #999;
      border-radius: 4vw;
      .iconfont {
        font-size: 3.4667vw;
      }
      span:nth-child(2) {
        color: #6d6d6d;
      }
    }
    .icon-fenlei {
      width: 8vw;
      font-size: 4.8vw;
      text-align: center;
    }
  }

  // 排序模块
  .sort {
    display: flex;
    align-items: center;
    width: 100vw;
    height: 12vw;
    background-color: #fff;
    &.fixed {
      position: fixed;
      left: 0;
      top: 11.7333vw;
    }
    span {
      text-align: center;
      width: 33.33%;
      font-size: 3.7333vw;
      &.active {
        color: #e49a3d;
      }
    }
  }

  // 清单模块
  .items {
    width: 100%;
    padding: 0 2px;
    img {
      width: 100%;
      height: 100%;
    }
    a {
      display: flex;
      justify-content: space-between;
      height: 37.3333vw;
      margin-bottom: 1.3333vw;
      padding: 1.8667vw;
      background-color: #fff;
      .left {
        width: 32vw;
        height: 32vw;
      }
      .right {
        width: 56.192vw;
        height: 32vw;
        h3 {
          font-size: 3.4667vw;
          font-weight: normal;
          color: #484848;
        }
        p {
          font-size: 3.2vw;
          color: #999;
          margin: 1.3333vw 0;
        }
        .price {
          font-size: 4vw;
          color: #f03c3c;
          .old {
            margin-left: 0.6667vw;
            font-style: normal;
            font-size: 3.2vw;
            text-decoration: line-through;
            color: #999;
          }
        }
      }
    }
  }

  .items {
    &.small {
      display: flex;
      flex-wrap: wrap;
      img {
        width: 47.7333vw;
        height: 47.7333vw;
      }
      a {
        flex-direction: column;
        justify-content: start;
        align-items: start;
        width: 50%;
        height: 66.0267vw;
        margin: 0;
        // overflow: hidden;
        .left {
          width: 47.7333vw;
          height: 47.7333vw;
          margin: 0 auto 1.3333vw;
        }
        h3 {
          width: 45.6vw;
        }
        .right {
          line-height: 1.5;
          p {
            display: none;
          }
        }
      }
    }
  }

  // 空值模块
  .empty {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100vw;
    height: 100vh;
    background: #fafafa url(../images/empty.png) no-repeat center 35%;
    background-size: 37.3333vw 24.5333vw;
    // background-color: pink;
    p {
      position: absolute;
      white-space: nowrap;
      top: 48%;
      left: 50%;
      font-size: 3.7333vw;
      color: #808080;
      transform: translate(-50%);
    }
  }
}
